package com.guigu.www.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.www.pojo.Menus;

import java.util.List;

public interface MenusService extends IService<Menus> {
    //查询父菜单
    public List<Menus> queryByMenusFuId(List<Integer> roleid,Integer menuid);
    //查询子菜单
    public List<Menus> queryByMenusSon(List<Integer> roleid,int menuseg);
    //查询最大的seq
    public  int querymaxseq();
    //查询所有菜单并查询当前菜单
    public List<Menus> queryquanxianbyroleid(int roleid);
}
